package com.ruoyi.system.dto.kujiale.info;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 酷家乐用户方案详情类（对应API响应的 d.result 列表元素）
 */
@Data
@ApiModel(description = "酷家乐用户方案详情，包含户型/装修阶段信息、面积、图片等")
public class UserDesignItem {

    @ApiModelProperty(value = "户型图唯一ID（必选）", required = true, example = "3FO4K4VXY2IW")
    private String planId;

    @ApiModelProperty(value = "装修阶段方案ID（status=1时存在，status=0时为空）", example = "3FO4K4VXY2IW")
    private String designId;

    @ApiModelProperty(value = "小区名称（必选）", required = true, example = "金色蓝庭")
    private String commName;

    @ApiModelProperty(value = "方案阶段（0=户型阶段，1=装修阶段，必选）", required = true, example = "0")
    private Integer status;

    @ApiModelProperty(value = "所在城市（必选）", required = true, example = "浙江省 杭州市 西湖区")
    private String city;

    @ApiModelProperty(value = "方案名称（必选）", required = true, example = "金色蓝庭89.00㎡户型3室1厅1卫1厨")
    private String name;

    @ApiModelProperty(value = "建筑面积（㎡，必选）", required = true, example = "89.0")
    private Float srcArea;

    @ApiModelProperty(value = "房型（必选）", required = true, example = "3室1厅1卫1厨")
    private String specName;

    @ApiModelProperty(value = "套内面积（㎡，必选）", required = true, example = "91.4")
    private Float area;

    @ApiModelProperty(value = "户型图URL（必选）", required = true, example = "http://qhyxpic.oss.kujiale.com/fpimg/2014/07/20/U8vLw0NvY1konQBBAAAA_800x800.jpg")
    private String planPic;

    @ApiModelProperty(value = "封面图URL（必选，户型阶段=户型图，装修阶段=渲染图）", required = true, example = "http://qhyxpic.oss.kujiale.com/fpimg/2014/07/20/U8vLw0NvY1konQBBAAAA_800x800.jpg")
    private String coverPic;

    @ApiModelProperty(value = "创建时间戳（ms，必选）", required = true, example = "1432277686000")
    private Long created;

    @ApiModelProperty(value = "最后修改时间戳（ms，必选）", required = true, example = "1432277686000")
    private Long modifiedTime;

    @ApiModelProperty(value = "方案标签ID（可选，无标签时不存在）", example = "3FO4K4VEEDF5")
    private String tagId;

    @ApiModelProperty(value = "全屋漫游图URL（可选，有漫游时存在）", example = "https://yun.kujiale.com/design/3FO4IPBSIDT6/show")
    private String designPanoUrl;

    @ApiModelProperty(value = "方案描述（可选，无描述时不存在）", example = "现代简约风格，适合三口之家")
    private String desc;
}